package com.wan37.logic.email.domain.vo;

import com.wan37.logic.email.domain.entity.AttachmentDO;

/**
 * 邮件附件
 * @author : luoyong
 * @date : 2020-07-28 10:14
 **/
public class AttachmentVO {
    private String emailId;
    private String backpackId;
    private long number;
    private int strongLevel;
    private int type;

    public AttachmentVO(){}

    public AttachmentVO(AttachmentDO attachmentDO){
        this.emailId = attachmentDO.getEmailId();
        this.backpackId = attachmentDO.getBackpackId();
        this.number = attachmentDO.getNumber();
        this.strongLevel = attachmentDO.getStrongLevel();
        this.type = attachmentDO.getType();
    }

    public String getEmailId() {
        return emailId;
    }

    public void setEmailId(String emailId) {
        this.emailId = emailId;
    }

    public String getBackpackId() {
        return backpackId;
    }

    public void setBackpackId(String backpackId) {
        this.backpackId = backpackId;
    }

    public long getNumber() {
        return number;
    }

    public void setNumber(long number) {
        this.number = number;
    }

    public int getStrongLevel() {
        return strongLevel;
    }

    public void setStrongLevel(int strongLevel) {
        this.strongLevel = strongLevel;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "AttachmentVO{" +
                "emailId='" + emailId + '\'' +
                ", backpackId='" + backpackId + '\'' +
                ", number=" + number +
                ", strongLevel=" + strongLevel +
                ", type=" + type +
                '}';
    }
}
